package authority.comm;
/**
 * 用于layui分页的实体类
 * @author shichenyang
 *
 */
public class Lay {
    private int code;//代码，0表示成功
    private String msg;//返回信息，可以在表格加载完毕后加载信息
    private int count;//返回查询出来数量，用于表格插件计算页数
    private Object data;//数据，表格展示出来的数据
    private Integer page;//当前页
    private Integer limit;//显示条数

    public Lay() {
    }


    public Lay(int code, String msg, int count, Object data, Integer page, Integer limit) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
        this.page = page;
        this.limit = limit;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }


}
